package com.ruoyi.system.enums;

/**
 * @ClassName : RoleTypeEnum
 * @Description : 得分规则枚举
 * @Author : gaoxianyang
 * @Date: 2024-10-11 13:20
 */
public enum ScoreRoleTypeEnum {
    SCORE_TYPE_1(0,"加分"),
    SCORE_TYPE_2(1,"减分"),;

    private final Integer code;
    private final String desc;

    ScoreRoleTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}